package com.campus.counseling.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("student_info")
public class Student {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    private String studentNo;
    private String college;
    private String major;
    private String grade;
    private String className;
    private String emergencyContact;
    private String emergencyPhone;
    
    @TableLogic
    private Integer deleted;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 